try{
	Type.registerNamespace('MaterialOutMakeVO');
	//转库单
	MaterialOutMakeVO = function(){};
	MaterialOutMakeVO.prototype = new NCMMPubUtil.SuperVO();
	//主键
	MaterialOutMakeVO.PK_SCAN={
		name:"pk_scan", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头部分
	//出库类型
	MaterialOutMakeVO.CBILLTYPEID={
		name:"cbilltypeid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//出库类型名称
	MaterialOutMakeVO.CBILLTYPEID_NAME={
		name:"cbilltypeid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库
	MaterialOutMakeVO.CWAREHOUSEID={
		name:"cwarehouseid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库名称
	MaterialOutMakeVO.CWAREHOUSEID_NAME={
		name:"cwarehouseid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存组织
	MaterialOutMakeVO.PK_ORG={
		name:"pk_org", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体部分
	//物料
	MaterialOutMakeVO.CMATERIALVID={
		name:"cmaterialvid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	MaterialOutMakeVO.CINVCODE={
		name:"cinvcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	MaterialOutMakeVO.CINVNAME={
		name:"cinvname", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	MaterialOutMakeVO.MATERIALSPEC={
		name:"materialspec", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	MaterialOutMakeVO.MATERIALTYPE={
		name:"materialtype", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描主数量
	MaterialOutMakeVO.NNUM={
		name:"nnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	MaterialOutMakeVO.NASTNUM={
		name:"nastnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	MaterialOutMakeVO.VCHANGERATE={
		name:"vchangerate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	MaterialOutMakeVO.CUNITID={
		name:"cunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
	MaterialOutMakeVO.CUNITID_NAME={
		name:"cunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	MaterialOutMakeVO.CASTUNITID={
		name:"castunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
	MaterialOutMakeVO.CASTUNITID_NAME={
		name:"castunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	MaterialOutMakeVO.VBATCHCODE={
		name:"vbatchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	MaterialOutMakeVO.PK_BATCHCODE={
		name:"pk_batchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	MaterialOutMakeVO.VSERIALCODE={
		name:"vserialcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	MaterialOutMakeVO.PK_RACK={
		name:"pk_rack", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位名称
	MaterialOutMakeVO.PK_RACK_NAME={
		name:"pk_rack_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//领料部门
	MaterialOutMakeVO.CDPTID={
		name:"cdptid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	MaterialOutMakeVO.CDPTID_NAME={
		name:"cdptid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	MaterialOutMakeVO.prototype.getAllAttrs = function(){
		return [MaterialOutMakeVO.PK_SCAN,
		MaterialOutMakeVO.CBILLTYPEID,
		MaterialOutMakeVO.CBILLTYPEID_NAME,
		MaterialOutMakeVO.CWAREHOUSEID,
		MaterialOutMakeVO.CWAREHOUSEID_NAME,
		MaterialOutMakeVO.PK_ORG,
		MaterialOutMakeVO.CMATERIALVID,
		MaterialOutMakeVO.CINVCODE,
		MaterialOutMakeVO.CINVNAME,
		MaterialOutMakeVO.MATERIALSPEC,
		MaterialOutMakeVO.MATERIALTYPE,
		MaterialOutMakeVO.NNUM,
		MaterialOutMakeVO.NASTNUM,
		MaterialOutMakeVO.VCHANGERATE,
		MaterialOutMakeVO.CUNITID,
		MaterialOutMakeVO.CUNITID_NAME,
		MaterialOutMakeVO.CASTUNITID,
		MaterialOutMakeVO.CASTUNITID_NAME,
		MaterialOutMakeVO.VBATCHCODE,
		MaterialOutMakeVO.PK_BATCHCODE,
		MaterialOutMakeVO.VSERIALCODE,
		MaterialOutMakeVO.PK_RACK,
		MaterialOutMakeVO.PK_RACK_NAME,
		MaterialOutMakeVO.CDPTID,
		MaterialOutMakeVO.CDPTID_NAME
    ]};
    
    MaterialOutMakeVO.prototype.getTableName = function(){
		return "ic_MaterialOutMake";
	};
	MaterialOutMakeVO.prototype.getPrimaryAttr = function(){
		return MaterialOutMakeVO.PK_SCAN;
	};
	
}catch(e){$e(e);}